using Castle.Windsor;
using Common;

namespace ConsoleApp
{
	public class Workflow
	{
		private IWindsorContainer _container;

		public Workflow()
		{
			_container = IoC.CreateContainer().WithBoo("config1.boo");
		}

		public void Run()
		{
			var controller = _container.Resolve<ITestController>();
			controller.Handle();
		}
	}
}
